<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<title>提交成功</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php if(empty($message['url'])) { ?>
<script type="text/javascript">
alert('<?php echo $message['msg']; ?>');
<?php
if(empty($_SERVER['HTTP_REFERER'])) echo 'window.history.back(-1);';
		else echo "self.location='{$_SERVER['HTTP_REFERER']}';";
?>
</script>
<?php }else{ ?>
<meta http-equiv="refresh" content="5; url=<?php echo $message['url']; ?>" />
<?php } ?>
<style type='text/css'>
body {
	background: #fff; margin: 80px auto; font: 14px/150% verdana, georgia, sans-serif; color: #000; text-align: center
}
a:link {
	color: #2c4c78; text-decoration: none
}
a:visited {
	color: #2c4c78; text-decoration: none
}
a:hover {
	color: #2c4c78; text-decoration: none
}
a:active {
	color: #2c4c78; text-decoration: none
}
h1 {
	padding-right: 4px; padding-left: 4px; font-size: 14px; background: #eee; padding-bottom: 4px; margin: 0px; padding-top: 4px; border-bottom: #84b0c7 1px solid
}
div {
	border-right: #84b0c7 1px solid; border-top: #84b0c7 1px solid; background: #e5eef5; margin: 0px auto; border-left: #84b0c7 1px solid; width: 500px; border-bottom: #84b0c7 1px solid
}
p {
	padding-right: 15px; padding-left: 15px; padding-bottom: 15px; margin: 0px; padding-top: 15px
}
.message{
	color:blue;
}
</style>
</head>

<body>
<div>
<h1>成功</h1>

	<p class="message"><?php echo $message['msg']; ?></p>

	<p class="link">
		<a href="<?php echo $message['url']; ?>" >如果您的浏览器没有自动跳转，请点击这里</a>
	</p>
</div>

</body>
</html>
